package com.sanyang.pda.ui.manualpicking;

import android.widget.TextView;

import com.sanyang.pda.adapter.PickingDetailAdapter;
import com.sanyang.pda.contract.PickingDetailContract;
import com.sanyang.pda.presenter.PickingDetailPresenter;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;
import com.wangshen.base.ui.mvp.base.refresh.BaseRecyclerRefreshFragment;
import com.wangshen.base.ui.mvp.base.ui.BaseMvpFragment;
import com.wangshen.projectbase.R;

import java.util.ArrayList;

import butterknife.BindView;

public class PickingDetailFragment extends BaseRecyclerRefreshFragment<PickingDetailContract.View ,PickingDetailPresenter> implements PickingDetailContract.View {

    private String entryNo;

    public PickingDetailFragment() {
    }

    public PickingDetailFragment(String entryNo) {
        this.entryNo = entryNo;
    }
    @Override
    public PickingDetailPresenter getPresenter() {
        return new PickingDetailPresenter(entryNo);
    }

    @Override
    public void initView() {

    }

    @Override
    public void initLinsenterner() {

    }

    @Override
    public void getData() {
        getRefreshLayout().autoRefresh();
    }

    @Override
    public BaseAdapter createRecyclerAdapter() {
        return new PickingDetailAdapter(R.layout.item_picking_detail,new ArrayList<>());
    }
}
